package com.csun.cmny.provider.model.vo.disinfectionPosition;

import com.csun.cmny.provider.model.domain.OmcDisinfectionRecordPositionBind;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import java.util.Date;
import java.util.List;

@Data
public class EverydayDisinfectionRecordVo {

    private Long id;

    //楼栋编号
    private String buildingNo;

    //消毒日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date disinfectionDate;

    //组织id
    private Long groupId;

    //护工名字
    private String nursingName;

    //护工userId
    private Long nursingUserId;

    //创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;


    //消毒位置集合
    private List<OmcDisinfectionRecordPositionBind> positions;
}
